package com.rm.zeyou.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 会员配置表
 * </p>
 *
 * @author YanYang
 * @since 2025-03-12 15:55:08
 */
@Getter
@Setter
@TableName("t_member_config")
@ApiModel(value = "MemberConfig对象", description = "会员配置表")
public class MemberConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("会员中心pk")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("会员名称")
    @TableField("member_name")
    private String memberName;

    @ApiModelProperty("会员类型")
    @TableField("member_type")
    private Integer memberType;

    @ApiModelProperty("会员价格")
    @TableField("member_price")
    private BigDecimal memberPrice;

    @ApiModelProperty("会员优惠价")
    @TableField("member_discount_price")
    private BigDecimal memberDiscountPrice;

    @ApiModelProperty("有效天数")
    @TableField("effect_day")
    private Integer effectDay;

    @ApiModelProperty("逻辑删除（0=未删除，1=已删除）")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
